<template>
	<router-link id="search_container" to="/goods/search">
		<input placeholder="搜索…" />
	</router-link>
</template>
<style lang='less' scoped>
	#search_container{
		background: #fff;
		padding: .1rem;
		text-align: center;
		position: fixed;
		top:0;
		left: 0;
		width: 100%;
		z-index: 5;
		input{
			background-image: url(../assets/img/home/s.png);
			background-repeat: no-repeat;
			background-position: .2rem;
			background-size: .4rem;
			text-indent: .5rem;
			width: 90%;
			height: .8rem;
			border-radius: 6px;
			border: none;
			font-size: .32rem;
			padding: .06rem .33rem;
			vertical-align: middle;
			background-color: #f5f5f5;
			display: inline-block;
		}
	}
</style>